]> dgit.raspbian.org Git - libreoffice.git/commit
[PATCH] put media files under link update control
authorCaolán McNamara <caolan.mcnamara@collabora.com>
Mon, 13 Jul 2026 22:42:07 +0000 (22:42 +0000)
committerRene Engelhard <rene@debian.org>
Sat, 3 Oct 2026 10:46:08 +0000 (12:46 +0200)
commitdc52604e68bcdbc7e1ab6523b1cd413a9f4ef037
treee819230a7a9d268f9887f9162acb94f70673b458
parent5c1fdb72f0c9b094c8da95be4cd866f0be515472
[PATCH] put media files under link update control

A media object whose content lives at an external URL, rather than
inside the document, is registered with the link manager like a linked
graphic. So it then shares the usual link update mechanism.

Media copied into the document is extracted to a temp file and is not a
link, so that's left alone.

Change-Id: I59dadaf05567ee9d9c0492b13cbc7174aca953da
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.collaboraoffice.com/c/core/+/6980
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 1ea4fc54036587c7eb4d4cea74e776de9e6baaf3)
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208393
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Gbp-Pq: Name CVE-2026-63269-2.diff
include/svx/svdomedia.hxx
sd/source/ui/docshell/docshel4.cxx
svx/qa/unit/data/media-link.fodp [new file with mode: 0644]
svx/qa/unit/sdr.cxx
svx/source/svdraw/svdomedia.cxx